﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Senthil.Mobile.WhereAmI
{
    public interface ILocationChangeNotifier : IDisposable
    {
        void Initialize();
        event EventHandler<LocationChangeNotificationEventArgs> LocationChanged;
    }

    public class LocationChangeNotificationEventArgs : EventArgs
    {
        string newLocation;
        string cellTowerId;

        public LocationChangeNotificationEventArgs(string newLocation, string cellTowerId)
        {
            this.newLocation = newLocation;
            this.cellTowerId = cellTowerId;
        }

        public string NewLocation
        {
            get { return newLocation; }
        }

        public string CellTowerId
        {
            get { return cellTowerId; }
        }
    }
}
